#ifndef __Weapon_H__
#define __Weapon_H__
#include "cocos2d.h"
#include "Prefabs.h"
USING_NS_CC;
class CWeapon : public Node
{
public:
	CWeapon();
	~CWeapon();
	bool initWithDt(CWeaponData*);
	static CWeapon* creatWithDt(CWeaponData*);
	Sprite* getWeaponPic();
	Vec2 getShootPoint();
	CC_SYNTHESIZE_READONLY(int, m_nBulletId, bulletId);
private:
	Sprite* m_pWeapon;
	Node* emptyNode;
};


#endif